package cn.tedu._05mvc.common;

import lombok.Getter;

/**
 * @author tune_the last
 * @date 2025/11/10 - 18:22
 */
@Getter
public enum ResultCodeEnum {
    SUCCESS(200,"成功"),
    FAIL(201, "失败");
    private Integer code;
    private String message;

    ResultCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
